package cn.t.repository.order;

import cn.t.core.repoistory.impl.IRepository;
import cn.t.dto.order.OrderQueryRequest;
import cn.t.model.order.OverPickupRecordDO;
import cn.t.model.order.OverPickupRecordVO;

import java.util.List;

/**
 * 超领记录表(OverPickupRecord)领域仓库
 *
 * @author t
 * @since 2024-05-24 10:19:12
 */
public interface OverPickupRecordRepository extends IRepository<OverPickupRecordDO> {
     Boolean addBatch(List<OverPickupRecordDO> exceptionLogList);
      long countQuery(OrderQueryRequest overPickupRecordDO);
     List<OverPickupRecordVO> queryOverPickupRecordList(OrderQueryRequest orderQueryDO, int start, Integer pageSize, String field, String direction);
     List<OverPickupRecordDO> queryOverPickupByWorkOrderSn(List<String> workOrderSnList);
     long countLockUserQuery(OrderQueryRequest overPickupRecordDO);
     List<OverPickupRecordVO> queryOverPickupRecordLock(OrderQueryRequest orderQueryDO, int start, Integer pageSize);
    }
